package com.ruoyi.system.domain.survey;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问卷信息，存储问卷的基本信息，包括ID、标题、描述和时间戳对象 survey_info
 * 
 * @author ruoyi
 * @date 2024-11-25
 */
public class SurveyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问卷ID, 主键，自动递增，唯一标识每个问卷 */
    private Long surveyId;

    /** 问卷标题，不能为空，长度最大为255字符 */
    @Excel(name = "问卷标题，不能为空，长度最大为255字符")
    private String title;

    /** 问卷类型，1：内科问卷 2：外科问卷 */
    @Excel(name = "问卷类型，1：内科问卷 2：外科问卷")
    private Integer surveyType;

    /** 医院ID */
    @Excel(name = "医院ID")
    private Long hosId;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String hosName;

    /** 科室ID */
    @Excel(name = "科室ID")
    private Long deptId;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String deptName;

    /** 医生ID */
    @Excel(name = "医生ID")
    private Long doctorId;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String doctorName;

    /** 问卷描述，存储问卷的详细描述，类型为TEXT可容纳长文本 */
    @Excel(name = "问卷描述，存储问卷的详细描述，类型为TEXT可容纳长文本")
    private String description;

    public void setSurveyId(Long surveyId) 
    {
        this.surveyId = surveyId;
    }

    public Long getSurveyId() 
    {
        return surveyId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSurveyType(Integer surveyType) 
    {
        this.surveyType = surveyType;
    }

    public Integer getSurveyType() 
    {
        return surveyType;
    }
    public void setHosId(Long hosId) 
    {
        this.hosId = hosId;
    }

    public Long getHosId() 
    {
        return hosId;
    }
    public void setHosName(String hosName) 
    {
        this.hosName = hosName;
    }

    public String getHosName() 
    {
        return hosName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }
    public void setDoctorName(String doctorName) 
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName() 
    {
        return doctorName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("surveyId", getSurveyId())
            .append("title", getTitle())
            .append("surveyType", getSurveyType())
            .append("hosId", getHosId())
            .append("hosName", getHosName())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("doctorId", getDoctorId())
            .append("doctorName", getDoctorName())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
